import request from '@/utils/request'

const api_name = '/product/protr'

export default {
  saveDataBatch(fileTrs){
    return request({
      url: `${api_name}`,
      method:'post',
      data:fileTrs
    })
  },
  batchRemove(ids){
    return request({
      url: `${api_name}`,
      method:'delete',
      data:ids
    })
  },
  getPageList(searchObj) {
    return request({
      url: `${api_name}`,
      method: 'get',
      params: searchObj // url查询字符串或表单键值对
    })
  }

}
